#
# Cache Tool Makefile
#
#  Licensed to the Apache Software Foundation (ASF) under one
#  or more contributor license agreements.  See the NOTICE file
#  distributed with this work for additional information
#  regarding copyright ownership.  The ASF licenses this file
#  to you under the Apache License, Version 2.0 (the
#  "License"); you may not use this file except in compliance
#  with the License.  You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
#  Unless required by applicable law or agreed to in writing, software
#  distributed under the License is distributed on an "AS IS" BASIS,
#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#  See the License for the specific language governing permissions and
#  limitations under the License.

bin_PROGRAMS += traffic_cache_tool/traffic_cache_tool

traffic_cache_tool_traffic_cache_tool_CPPFLAGS = \
    $(AM_CPPFLAGS) \
    -I $(abs_top_srcdir)/include \
    -I $(abs_top_srcdir)/lib \
    -D__STDC_FORMAT_MACROS

traffic_cache_tool_traffic_cache_tool_SOURCES = \
    traffic_cache_tool/CacheDefs.h \
    traffic_cache_tool/CacheDefs.cc \
    traffic_cache_tool/CacheTool.cc \
    traffic_cache_tool/CacheScan.h \
    traffic_cache_tool/CacheScan.cc

traffic_cache_tool_traffic_cache_tool_LDADD = \
    $(top_builddir)/src/tscore/.libs/ArgParser.o \
    $(top_builddir)/src/tscore/.libs/ink_assert.o \
    $(top_builddir)/src/tscore/.libs/ink_code.o \
    $(top_builddir)/src/tscore/.libs/ink_error.o \
    $(top_builddir)/src/tscore/.libs/ink_file.o \
    $(top_builddir)/src/tscore/.libs/ink_memory.o \
    $(top_builddir)/src/tscore/.libs/ink_mutex.o \
    $(top_builddir)/src/tscore/.libs/ink_string.o \
    $(top_builddir)/src/tscore/.libs/BufferWriterFormat.o \
    $(top_builddir)/src/tscore/.libs/ts_file.o \
    $(top_builddir)/src/tscore/.libs/Errata.o \
    $(top_builddir)/src/tscpp/util/.libs/TextView.o \
    $(top_builddir)/src/tscore/.libs/Regex.o \
    $(top_builddir)/src/tscore/.libs/CryptoHash.o \
    $(top_builddir)/src/tscore/.libs/MMH.o \
    $(top_builddir)/src/tscore/.libs/Version.o \
    $(top_builddir)/src/tscore/.libs/Regression.o \
    $(top_builddir)/src/tscore/.libs/ink_args.o \
    $(top_builddir)/src/tscore/.libs/ParseRules.o \
    $(top_builddir)/src/tscore/.libs/SourceLocation.o \
    @OPENSSL_LIBS@ @LIBPCRE@
